/**
 * Created by Administrator on 2017/4/20 0020.
 */
var nums = 10; //每页出现的数量
var data = 1342;//列表总数
var pages = Math.ceil(1342/nums); //得到总页数


laypage({
    cont: 'pagination',
    pages: pages,
    skin: '#f3af33',
    first: 1,
    last: pages,
    prev: '<em><</em>',
    next: '<em>></em>'
});